﻿using System;
using System.ComponentModel;

namespace ThresholdAssistant.Enums
{
    /// <summary>
    /// 消息类型
    /// </summary>
    [Serializable]
    public enum MessageTypeEnum
    {
        /// <summary>
        /// 登录成功
        /// </summary>
        [Description("登录成功")]
        SignInSuccess = 10000,

        /// <summary>
        /// 登录失败
        /// </summary>
        [Description("登录失败")]
        SignInFail = 10001,

        /// <summary>
        /// 登出成功
        /// </summary>
        [Description("登出成功")]
        SignOutSuccess = 10002,

        /// <summary>
        /// 账号托管确认回调
        /// </summary>
        [Description("账号托管确认回调")]
        TrusteeshipConfirmCallback = 10004,

        /// <summary>
        /// 机器人账号托管迁出
        /// </summary>
        [Description("机器人账号托管迁出")]
        TrusteeshipCheckOut = 10005,

        /// <summary>
        /// 机器人账号托管修改密码
        /// </summary>
        [Description("机器人账号托管修改密码")]
        TrusteeshipAuthChangePassword = 10006,

        /// <summary>
        /// 登录授权回调
        /// </summary>
        [Description("登录授权回调")]
        SignAuthCallBack = 20000,

        /// <summary>
        /// 账号托管下发指令
        /// </summary>
        [Description("账号托管下发指令")]
        AccountTrusteeshipSend = 20004,

        /// <summary>
        /// 账号托管扫码确认指令
        /// </summary>
        [Description("账号托管扫码确认指令")]
        AccountTrusteeshipConfirm = 20005
    }
}